package com.pathfinder.model;

import java.util.ArrayList;
import java.util.List;

/**
 * Date: 08.05.11
 *
 * @author Victor Passichenko (vpas@yandex-team.ru)
 */
public class Game {
    private int id;
    private String name;
    private List<Player> players;

    public Game(String name) {
        this.name = name;
    }

    public Game(int id, String name) {
        this.id = id;
        this.name = name;
        this.players = new ArrayList<Player>();
    }

    public Game(int id, String name, List<Player> players) {
        this.id = id;
        this.name = name;
        this.players = players;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public List<Player> getPlayers() {
        return players;
    }
}
